package com.neo.util;



import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ListToMap {
    public static Map<String, String> getListToMap(List<HpjParamer> list) {
        Map<String, String> map = new HashMap<>();
        for (HpjParamer hpj : list
                ) {
            map.put(hpj.getPosition(), hpj.getComputer());
        }
        return map;
    }
}
